package com.nn.api;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @description
 * @Author 白起
 * @Data 2020/11/26 22:33
 */
@RestController
public class MemberApiController {

    @Value("${server.port}")
    private String port;

    @GetMapping("getMember")
    public Object getMember(){
        return "hello 我是会员服务: "+ port;
    }
}
